<?php
class Setting extends AppModel {

    public $validate = array(
    'dateshort' => array('notEmpty'),
    'datelong' => array('notEmpty'),
    'homepagearticles' => array('numeric'),
    'homepagenews' => array('numeric'),
    'pagetitle' => array('notEmpty'),
    'pageurl' => array('notEmpty'),
    'pageauthor' => array('notEmpty'),
    );

}
?>